@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input type="hidden" id="id" value="${item.id}"/>
            <input type="hidden" id="dbTypeValue" value="${item.dbType}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#select id="dbType" name="数据库类型" underline="true">
                    </#select>
                    <#input id="sourceName" name="数据源名称" value="${item.sourceName}" underline="true"/>
                    <#input id="dbName" name="数据库名称" value="${item.dbName}" />
                    <#input id="dbDriver" name="数据库驱动" value="${item.dbDriver}" underline="true"/>
                    <#input id="createTime" name="创建时间" value="${item.createTime}" underline="true" readonly="readonly"/>
                </div>

                <div class="col-sm-6">
                    <#input id="dbUrl" name="链接地址" value="${item.dbUrl}" underline="true"/>
                    <#input id="remark" name="备注" value="${item.remark}" underline="true"/>
                    <#input id="username" name="账号" value="${item.username}" underline="true"/>
                    <#input id="password" name="密码" value="${item.password}" />
                    <#input id="updateTime" name="更新时间" value="${item.updateTime}" underline="true" readonly="readonly"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="MfDbSourceInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MfDbSourceInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/business/mfDbSource/mfDbSource_info.js"></script>
@}
